package com.uniquesoft.excelwriter;
import java.util.Date;
import java.util.HashMap;
import org.apache.poi.ss.util.CellRangeAddress;
public class Sheet1 extends BaseSheet {
	/*
	 * sheetFormat 定义每一个表格项的位置
	 * */
	public static final HashMap<String, CellRangeAddress> sheetFormat;
	static
	{
		sheetFormat = new HashMap<String,CellRangeAddress>();
		sheetFormat.put("name", new CellRangeAddress(1,2,2,2));//姓名
		sheetFormat.put("gender",new CellRangeAddress(1,2,4,4));//性别
		sheetFormat.put("birthday",new CellRangeAddress(1,1,6,6));//出生日期
		sheetFormat.put("age",new CellRangeAddress(2,2,6,6));//年龄
		sheetFormat.put("nationality",new CellRangeAddress(3,3,2,2));//民族
		sheetFormat.put("province",new CellRangeAddress(3,3,4,4));//籍贯
		sheetFormat.put("birthPlace",new CellRangeAddress(3,3,6,6));//出生地
		sheetFormat.put("photo",new CellRangeAddress(1,5,7,7));//照片
		sheetFormat.put("initiate",new CellRangeAddress(4,4,2,2));//入党时间
		sheetFormat.put("workFromDate",new CellRangeAddress(4,4,4,4));//参加工作时间
		sheetFormat.put("health",new CellRangeAddress(4,4,6,6));//健康状况
		sheetFormat.put("professionalPosition",new CellRangeAddress(5,5,2,3));//专业技术职务
		sheetFormat.put("talent",new CellRangeAddress(5,5,5,6));//熟悉专业有何专长
		sheetFormat.put("fullEdu",new CellRangeAddress(6,7,3,4)); //全日制教育学历学位
		sheetFormat.put("fullEduSchool",new CellRangeAddress(6,6,6,7));//全日制教育毕业院校及专业
		sheetFormat.put("fullEduMajor",new CellRangeAddress(7,7,6,7));//全日制教育专业
		sheetFormat.put("workingEdu",new CellRangeAddress(8,9,3,4));//在职教育学历学位
		sheetFormat.put("workingEduSchool",new CellRangeAddress(8,9,6,6));//在职教育毕业院校
		sheetFormat.put("workingEduMajor",new CellRangeAddress(8,9,6,7));//在职教育专业
		sheetFormat.put("c_post",new CellRangeAddress(10,10,3,7)); //现任职务 current_position
		sheetFormat.put("a_post",new CellRangeAddress(11,11,3,7)); //拟任职务 apply_for_position
		sheetFormat.put("f_post",new CellRangeAddress(12,12,3,7)); //拟免职务 free of duty position
		sheetFormat.put("resume",new CellRangeAddress(13,14,1,7));//在职教育学历学位
	}
	private boolean isFullEdu = true;
	private String name ="Jerry";
	private String gender = "女";
//	private String birthday = "2017.01.01";
	private Date birthday;
	private String age = "（28岁）";
	private String nationality = "汉族";
	private String province = "湖北省";
	private String birthPlace = "湖北省";
	private String photo;
//	private String initiate = "2017.05.26";
	private Date initiate;
//	private String workFromDate = "2015.07.01";
	private Date workFromDate;
	private String health = "良好";
	private String professionalPosition = "工程师";
	private String talent = "编程";
	private String fullEdu = "双学士";
	private String fullEduSchool = "武汉工程大学";
	private String fullEduMajor = "软件工程+英语";
	private String workingEdu;
	private String workingEduSchool;
	private String workingEduMajor;
	private String c_post = "工程师";
	private String a_post = "架构师";
	private String f_post = "打杂";
	private String resume = "2001. 4--2007. 7  上海市商业投资（集团）有限公司行政主办                         2001.12--2008. 9  上海市商业投资（集团）有限公司团委干事、委员、副书记、书记     2007. 7--至今     上海复控华龙微系统技术有限公司董事、行政总监 ";
	public boolean isFullEdu() {
		return isFullEdu;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}
	public String getFullEduMajor() {
		return fullEduMajor;
	}
	public void setFullEduMajor(String fullEduMajor) {
		this.fullEduMajor = fullEduMajor;
	}
	public String getWorkingEduMajor() {
		return workingEduMajor;
	}
	public void setWorkingEduMajor(String workingEduMajor) {
		this.workingEduMajor = workingEduMajor;
	}
	public void setFullEdu(boolean isFullEdu) {
		this.isFullEdu = isFullEdu;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getNationality() {
		return nationality;
	}
	public void setNationality(String nationality) {
		this.nationality = nationality;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getBirthPlace() {
		return birthPlace;
	}
	public void setBirthPlace(String birthPlace) {
		this.birthPlace = birthPlace;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public /*String*/Date getInitiate() {
		return initiate;
	}
	public void setInitiate(/*String*/Date initiate) {
		this.initiate = initiate;
	}
	public /*String*/Date getWorkFromDate() {
		return workFromDate;
	}
	public void setWorkFromDate(/*String*/ Date workFromDate) {
		this.workFromDate = workFromDate;
	}
	public String getHealth() {
		return health;
	}
	public void setHealth(String health) {
		this.health = health;
	}
	public String getProfessionalPosition() {
		return professionalPosition;
	}
	public void setProfessionalPosition(String professionalPosition) {
		this.professionalPosition = professionalPosition;
	}
	public String getTalent() {
		return talent;
	}
	public void setTalent(String talent) {
		this.talent = talent;
	}
	public String getFullEdu() {
		return fullEdu;
	}
	public void setFullEdu(String fullEdu) {
		this.fullEdu = fullEdu;
	}
	public String getFullEduSchool() {
		return fullEduSchool;
	}
	public void setFullEduSchool(String fullEduSchool) {
		this.fullEduSchool = fullEduSchool;
	}
	public String getWorkingEdu() {
		return workingEdu;
	}
	public void setWorkingEdu(String workingEdu) {
		this.workingEdu = workingEdu;
	}
	public String getWorkingEduSchool() {
		return workingEduSchool;
	}
	public void setWorkingEduSchool(String workingEduSchool) {
		this.workingEduSchool = workingEduSchool;
	}
	public String getC_post() {
		return c_post;
	}
	public void setC_post(String c_post) {
		this.c_post = c_post;
	}
	public String getA_post() {
		return a_post;
	}
	public void setA_post(String a_post) {
		this.a_post = a_post;
	}
	public String getF_post() {
		return f_post;
	}
	public void setF_post(String f_post) {
		this.f_post = f_post;
	}
	public String getResume() {
		return resume;
	}
	public void setResume(String resume) {
		this.resume = resume;
	}
}


